<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>商户支付测试</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="<?=userassets?>component/pear/css/pear.css" />
    <link rel="stylesheet" href="<?=userassets?>component/layui/css/layui.css">
    <link rel="stylesheet" href="<?=userassets?>css/pay_cs.css" />
    
</head>
<body>
    <div class="pear-container">
        <div class="layui-container">
            <div class="layui-row">
                <div class="layui-col-md12">
                    <div class="ticket-form">
                        <div class="ticket-title">
                            <i class="layui-icon layui-icon-cart-simple"></i>
                            商户支付测试
                        </div>
                        <form class="layui-form" action="" lay-filter="payTestForm">
                            <div class="layui-form-item">
                                <label class="layui-form-label">
                                    <i class="layui-icon layui-icon-rmb"></i>
                                    金额
                                </label>
                                <div class="layui-input-block">
                                    <div>
                                        <input type="number" name="money" lay-verify="required|number" 
                                               placeholder="请输入充值金额" autocomplete="off" class="layui-input">
                                    </div>
                                </div>
                            </div>

                            <div class="layui-form-item">
                                <label class="layui-form-label">
                                    <i class="layui-icon layui-icon-payment"></i>
                                    支付方式
                                </label>
                                <div class="layui-input-block">
                                    <div class="pay-channel-group">
                                        <div class="pay-method-card">
                                            <input type="radio" name="type" value="alipay" title="支付宝"checked>
                                        </div>
                                        <div class="pay-method-card">
                                            <input type="radio" name="type" value="qqpay" title="QQ支付">
                                        </div>
                                        <div class="pay-method-card">
                                            <input type="radio" name="type" value="wxpay" title="微信支付">
                                        </div>
                                        <div class="pay-method-card">
                                            <input type="radio" name="type" value="usdt" title="USDT">
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="layui-form-item">
                                <div class="layui-input-block" style="margin-left: 0;">
                                    <button class="pay-btn" lay-submit lay-filter="submitPayTest">
                                        <i class="layui-icon layui-icon-release"></i>
                                        立即充值
                                    </button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script src="<?=userassets?>component/layui/layui.js"></script>
    <script src="<?=userassets?>component/pear/pear.js"></script>
    <script src="<?=userassets?>core_js/pay_cs.js?v=<?=time()?>"></script>
</body>
</html>
